import request from '@/utils/request';
export const serviceHead = '/system'; // 项目前缀

/**
 * 获取字典
 * @param params
 * @returns {*}
 */
export function getDictsByType (dictType) {
  return request({
    url: `${serviceHead}/dict/data/type/${dictType}`,
    method: 'get'
  });
};